/**
 * 
 */
package fluo.desktopserver;

import java.io.File;
import java.io.FileFilter;

/**
 * @author maherbeg
 *
 * Created: Apr 12, 2009
 * Modified: Apr 12, 2009
 */
public class MP3Filter implements FileFilter {

	public boolean accept(File pathname) {
		if(pathname.isFile()){
			return pathname.getName().endsWith(".mp3");
		} else{
			return true;
		}
	}

}
